package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.ServiceItem;
import cn.wolfcode.car.business.query.ServiceItemQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ServiceItemMapper extends BaseMapper<ServiceItem> {
    List<ServiceItem> selectForList(ServiceItemQuery qo);

    void changeStatus(@Param("id") Long id, @Param("status") Integer status);


    void updateAuditStatus(@Param("serviceItemId") Long serviceItemId, @Param("auditstatusApproved") Integer auditstatusApproved);
}